package qeug.shsh.bpm.service;

import com.fasterxml.jackson.core.JsonProcessingException;
import kd.bos.dataentity.entity.DynamicObject;

import javax.xml.rpc.ServiceException;
import java.net.MalformedURLException;
import java.rmi.RemoteException;

public interface  SAPService {
    /**
     * @throws ServiceException      服务异常
     * @throws RemoteException       远程调用异常
     * @throws MalformedURLException URL格式异常
     */
    String voucher(DynamicObject gl_voucher) throws ServiceException, RemoteException, MalformedURLException;

    String backVoucher(DynamicObject gl_voucher) throws ServiceException, RemoteException, MalformedURLException;

    String getBankInfo(String body) throws ServiceException, RemoteException, MalformedURLException;

//    String getWBSInfo(String body);
}
